/* Lemonade Website Styles */

/* === CSS Variables === */
:root {
  /* Colors */
  --primary-yellow: #ffe066;
  --primary-yellow-dark: #ffd43b;
  --primary-yellow-darker: #ffcc00;
  --accent-gold: #e6b800;
  --accent-gold-dark: #bfa100;
  
  --text-primary: #222;
  --text-secondary: #555;
  --text-muted: #666;
  --text-light: #999;
  --text-success: #4ca64c;
  
  --bg-primary: #fffbe9;
  --bg-secondary: #fff8dd;
  --bg-tertiary: #fff5d1;
  --bg-white: #fff;
  --bg-overlay: rgba(255, 251, 233, 0.95);
  
  --border-light: #e6e6e6;
  --border-medium: #ccc;
  --border-primary: #e6b800;
  
  --shadow-light: 0 2px 8px rgba(230, 184, 0, 0.3);
  --shadow-medium: 0 4px 12px rgba(230, 184, 0, 0.4);
  --shadow-heavy: 0 8px 24px rgba(0, 0, 0, 0.15);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Typography */
  --font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.85rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.2rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 2.5rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.4s ease;
  
  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-xxl: 24px;
  --radius-round: 50%;
}

/* === Base Styles === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 224, 102, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 212, 59, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

body.install-options {
  align-items: center;
  justify-content: flex-start;
}

/* === Navigation === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-xxl) var(--spacing-sm) var(--spacing-md);
  font-size: 1.25rem;
  font-weight: 500;
  background: transparent;
  letter-spacing: 0.02em;
  position: relative;
  transition: var(--transition-medium);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.navbar-context {
  position: absolute;
  left: var(--spacing-xl);
  font-size: 0.95rem;
  color: var(--text-muted);
  display: none;
  align-items: center;
  white-space: nowrap;
}

.navbar-context.show {
  display: flex;
}

.navbar-links {
  display: flex;
  gap: 2.5rem;
}

.navbar a {
  color: #444;
  text-decoration: none;
  transition: var(--transition-fast);
}

.navbar a:hover {
  color: var(--accent-gold);
}

.navbar-back {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  margin-right: var(--spacing-sm);
}

.navbar-back:hover {
  color: var(--accent-gold-dark);
}

/* Breadcrumb */
.breadcrumb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 184, 0, 0.2);
  padding: 0.8rem var(--spacing-xl);
  z-index: 200;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  min-height: 60px;
}

.breadcrumb-back {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.breadcrumb-back:hover {
  color: var(--accent-gold-dark);
}

.breadcrumb-separator {
  margin: 0 0.8rem;
  color: var(--border-medium);
  white-space: nowrap;
}

/* === Layout Components === */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 60vh;
  padding: var(--spacing-xl) var(--spacing-md) 4rem var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.main > * {
  animation: fadeInUp 0.8s ease-out both;
}

.main > *:nth-child(1) { animation-delay: 0.1s; }
.main > *:nth-child(2) { animation-delay: 0.2s; }
.main > *:nth-child(3) { animation-delay: 0.3s; }
.main > *:nth-child(4) { animation-delay: 0.4s; }
.main > *:nth-child(5) { animation-delay: 0.5s; }

.main.hidden {
  display: none;
}

.hero-section {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto var(--spacing-xl) auto;
  padding: var(--spacing-xxl) var(--spacing-md) var(--spacing-md) var(--spacing-md);
}

.lmn-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4rem;
  padding-top: 80px;
}

/* Typography */
.main-heading {
  font-size: 4rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.05;
  margin: var(--spacing-sm) 0 var(--spacing-xxl) 0;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
  max-width: 1000px;
  width: 100%;
}

.title {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.01rem;
  text-align: left;
  color: var(--text-primary);
}

.subtitle {
  font-size: var(--font-size-lg);
  font-weight: 500;
  font-family: var(--font-family);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  text-align: center;
  max-width: 700px;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lmn-install-title {
  font-size: var(--font-size-xxxl);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  margin: 0.8em 0 0.3em 0;
  font-family: inherit;
  text-align: center;
  display: block;
  line-height: 1.05;
  margin: var(--spacing-md) 0 var(--spacing-md) 0;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
  max-width: 1000px;
  width: 100%;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* === Button Components === */
.btn-base {
  display: inline-block;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-medium);
  text-decoration: none;
  outline: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-base::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-base:hover::before {
  left: 100%;
}

.download-btn, .dev-btn {
  display: inline-block;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-medium);
  text-decoration: none;
  outline: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
  padding: var(--spacing-md) 2.5rem 0.8rem 2.5rem;
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  min-width: 250px;
  max-width: 250px;
  height: 70px;
  justify-content: center;
}

.download-btn {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 50%, var(--primary-yellow-darker) 100%);
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 2px 0 rgba(255, 255, 255, 0.3) inset;
}

.download-btn:hover, .download-btn:focus {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
  transform: translateY(-2px) scale(1.02);
}

.download-btn:active {
  background: var(--primary-yellow);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: scale(0.98);
}

.dev-btn {
  background: linear-gradient(135deg, var(--bg-white) 0%, #f8f9fa 100%);
  color: #333;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
}

.dev-btn:hover, .dev-btn:focus {
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-white) 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  transform: translateY(-2px) scale(1.02);
}

.dev-btn:active {
  background: #ededed;
  box-shadow: 0 2px 8px rgba(187, 187, 187, 0.13);
  border-color: #888;
  transform: scale(0.98);
}

.download-btn .download-sub, .dev-btn .dev-sub {
  font-size: var(--font-size-sm);
  color: #3d4000;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 0.25em;
  letter-spacing: 0.01em;
  font-style: italic;
  text-decoration: none;
}

.button-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.lmn-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 1.18rem;
  border: none;
  border-radius: var(--radius-xl);
  padding: 1.1em 2.5em 0.9em 2.5em;
  margin: 0.2em 0.2em 0.2em 0;
  text-decoration: none !important;
  box-shadow: var(--shadow-light), 0 1.5px 0 var(--bg-primary) inset;
  transition: var(--transition-fast);
  cursor: pointer;
  outline: none;
  letter-spacing: 0.01em;
  min-width: 150px;
}

.lmn-btn:hover, .lmn-btn:focus {
  box-shadow: var(--shadow-medium), 0 1.5px 0 var(--bg-primary) inset;
  transform: translateY(-1px) scale(1.01);
}

.lmn-btn:active {
  background: var(--primary-yellow);
  box-shadow: var(--shadow-light);
  transform: scale(0.98);
}

.lmn-btn:visited {
  color: var(--text-primary);
}

/* === Community Section === */
.community-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin: 0;
  max-width: 1000px;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 0.5s both;
  position: relative;
}

.community-section .subtitle {
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.community-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.community-buttons a {
  display: inline-block;
  transition: var(--transition-medium);
  opacity: 0.9;
}

.community-buttons a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.community-buttons img {
  height: 32px;
  transition: var(--transition-medium);
  border-radius: var(--radius-sm);
}

/* === Content Sections === */
.partner-apps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0 var(--spacing-md) 0;
  max-width: 1000px;
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-lg);
  /* background: transparent; */
  animation: fadeInUp 0.8s ease-out 0.6s both;
  position: relative;
}

.partner-apps .subtitle {
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.partner-apps-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.partner-apps a {
  display: inline-block;
  transition: var(--transition-slow);
  opacity: 0.85;
  position: relative;
}

.partner-apps a:hover::before {
  width: 120px;
  height: 120px;
}

.partner-apps a:hover {
  transform: translateY(-6px) scale(1.05);
  opacity: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.partner-apps img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: var(--transition-medium);
}

.partner-apps a:hover img {
  transform: scale(1.05);
}

/* Video Section */
.video-section {
  margin: var(--spacing-xxl) auto var(--spacing-xl) auto;
  max-width: 1000px;
  width: 100%;
  padding: 0 var(--spacing-md);
  position: relative;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: linear-gradient(45deg, #000 0%, #1a1a1a 100%);
  border-radius: var(--radius-xxl);
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 12px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-xxl);
}

/* Release Announcement */
.release-announcement {
  margin: var(--spacing-xl) auto;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 0 var(--spacing-md);
  box-shadow: var(--shadow-heavy);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease-out 0.8s both;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.release-announcement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 224, 102, 0.05) 50%, transparent 70%);
  border-radius: 20px;
  pointer-events: none;
}

.release-content {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  flex-grow: 1;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-md) 1rem var(--spacing-md);
}

.release-icon {
  font-size: var(--spacing-xl);
  flex-shrink: 0;
}

.release-info {
  flex-grow: 1;
  text-align: left;
}

.release-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  margin: 0 0 var(--spacing-sm) 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.release-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.3rem 0;
  line-height: 1.2;
}

.release-date {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.8rem 0;
  font-weight: 500;
}

.release-highlights {
  margin-top: var(--spacing-sm);
}

.highlight-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.4rem 0;
  padding: 0.3rem 0.8rem;
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.3;
}

.release-link {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 50%, var(--primary-yellow-darker) 100%);
  color: var(--text-primary);
  text-decoration: none;
  padding: var(--spacing-md) 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: var(--font-size-base);
  padding: 0.8rem var(--spacing-lg);
  transition: var(--transition-medium);
  box-shadow: 0 6px 20px rgba(255, 224, 102, 0.4), 0 2px 0 rgba(255, 255, 255, 0.3) inset;
  align-self: flex-start;
  margin: auto var(--spacing-md) var(--spacing-md) var(--spacing-md);
  display: inline-block;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  text-align: center;
}

.release-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 224, 102, 0.5), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
}

.release-link:active {
  background: var(--primary-yellow);
  box-shadow: 0 2px 8px rgba(255, 224, 102, 0.33);
  transform: scale(0.98);
}

/* News Banner */
.news-ticker-outer {
  min-height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.news-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 30s linear infinite;
}

.news-ticker-outer:hover .news-ticker-track {
  animation-play-state: paused;
}

.news-banner {
  max-width: 1000px;
  width: 100%;
  margin: var(--spacing-md) auto;
  overflow: hidden;
  min-height: 48px;
  padding: 1.2rem 2rem;
}

.news-banner-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  overflow: hidden;
  position: relative;
}

.news-label {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--accent-gold-dark);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.news-item {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.news-ticker-container {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: scroll-banner 40s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
}

.news-ticker-item, .news-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-medium);
  display: inline-flex;
  align-items: center;
  height: 40px;
}

.news-ticker-item {
  margin-right: 8px;
  margin-left: 8px;
}

.news-ticker-item:hover, .news-title:hover {
  color: var(--accent-gold-dark);
  text-decoration: underline;
}

.news-ticker-separator {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  height: 40px;
}

.news-ticker-container:hover {
  animation-play-state: paused;
}

/* Keyframes */
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-banner {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-horizontal {
  0% { left: 100%; }
  100% { left: -100%; }
}

/* Responsive Design */
@media (max-width: 600px) {
  .news-ticker-container {
    animation-duration: 25s;
  }
}

@media (max-width: 768px) {
  .news-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
    padding: 4rem 1rem;
  }
  .news-label {
    margin-bottom: 0.3em;
  }
  .news-ticker-container {
    animation: scroll-horizontal 15s linear infinite;
  }
  .news-title:not(.news-ticker) {
    animation: none;
    white-space: normal;
    overflow: visible;
    position: static;
  }
}
/* === Installer Components === */
.lmn-installer-table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0.5em 0;
  font-family: inherit;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  table-layout: fixed;
  width: 100%;
  max-width: 650px;
  position: relative;
}

.lmn-installer-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 224, 102, 0.02) 50%, transparent 70%);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.lmn-installer-table td, .lmn-installer-table th {
  border: 1px solid rgba(255, 224, 102, 0.4);
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: center;
  font-size: var(--font-size-base);
  background: var(--bg-white);
  min-width: 120px;
  height: 60px;
  vertical-align: middle;
  transition: var(--transition-medium);
  cursor: pointer;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  line-height: 1.4;
}

.lmn-installer-table td:hover:not(.lmn-label):not(.lmn-active) {
  background: rgba(255, 224, 102, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 224, 102, 0.2);
}

.lmn-installer-table tr:first-child td:first-child,
.lmn-installer-table tr:first-child th:first-child {
  border-top-left-radius: var(--radius-lg);
}

.lmn-installer-table tr:first-child td:last-child,
.lmn-installer-table tr:first-child th:last-child {
  border-top-right-radius: var(--radius-lg);
}

.lmn-installer-table tr:last-child td:first-child,
.lmn-installer-table tr:last-child th:first-child {
  border-bottom-left-radius: var(--radius-lg);
}

.lmn-installer-table tr:last-child td:last-child,
.lmn-installer-table tr:last-child th:last-child {
  border-bottom-right-radius: var(--radius-lg);
}

.lmn-badge {
  display: inline-block;
  background: #007acc;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 4px;
  font-weight: 500;
}

.lmn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: flex-start;
  margin-bottom: 1.2em;
}

/* Ensure active state is properly defined */
.lmn-installer-table .lmn-active {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%) !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  box-shadow: 0 2px 8px rgba(255, 224, 102, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  border-color: var(--primary-yellow-darker) !important;
}

/* Ensure disabled state works */
.lmn-installer-table .lmn-disabled {
  background: #f5f5f5 !important;
  color: #616161 !important;
  opacity: 0.6;
}

/* Label cells styling */
.lmn-installer-table .lmn-label {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%) !important;
  font-weight: 600;
  color: var(--text-primary);
  cursor: default !important;
  border-right: 3px solid var(--primary-yellow-darker) !important;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Copy button improvements */
.lmn-copy-btn {
  display: none;
  position: absolute;
  right: 0.7em;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-yellow);
  border: none;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 0.3em 0.6em;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
  z-index: 10;
  font-weight: 500;
}

.lmn-command-line:hover .lmn-copy-btn {
  display: inline-block;
}

.lmn-copy-btn:hover {
  background: var(--primary-yellow-dark);
  transform: translateY(-50%) scale(1.05);
}

/* Content section improvements */
.lmn-content-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  box-shadow: var(--shadow-light);
  max-width: 650px;
  width: 100%;
  box-sizing: border-box;
}

/* Download section styling */
.lmn-download-section {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-medium);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lmn-download-section a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  transition: var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-light);
  min-width: 250px;
}

.lmn-download-section a:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.lmn-command-area {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--radius-xl);
  margin-top: 0.8em;
  padding: 0.8em var(--spacing-md);
  box-shadow: none;
  max-width: 600px;
  width: 100%;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lmn-command-area b {
  font-size: 1.13rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0 0 1em 0;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #ffe066;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.lmn-section-header::before {
  content: "⚡";
  font-size: 1.1em;
}

.lmn-explore-header::before {
  content: "🚀";
}

.lmn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: flex-start;
  margin-bottom: 1.2em;
}

.lmn-badges img {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.lmn-badges img:hover {
  transform: translateY(-1px);
}

/* Command styling improvements */
.lmn-command pre {
  background: var(--text-primary);
  color: var(--bg-white);
  border-radius: 10px;
  padding: 0.8em 4.5em 0.8em var(--spacing-md);
  font-size: 1.08rem;
  margin: 0.5em 0 0 0;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'monospace';
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(255, 224, 102, 0.2);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  position: relative;
}

.lmn-download-section {
  background: linear-gradient(135deg, #ffe066 0%, #ffd43b 100%);
  border-radius: 12px;
  padding: 1.5em 2em;
  margin-bottom: 1.2em;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255, 224, 102, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lmn-download-section a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-block;
  padding: 1em 2em;
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 280px;
  line-height: 1.3;
}

.lmn-download-section a:hover {
  background: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lmn-command code {
  background: none;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.lmn-command a {
  color: var(--accent-gold);
  text-decoration: underline;
  font-size: 1.08rem;
}

.lmn-command a:hover {
  color: var(--accent-gold-dark);
}

.lmn-command-line {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 0;
  min-width: 0;
  word-break: break-all;
  width: calc(100% + 5.7em);
  margin-left: -1.2em;
  padding-left: 1.2em;
}

.lmn-command-line span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-right: 0.5em;
  max-width: calc(100% - 5.7em);
}

.lmn-copy-btn {
  display: none;
  position: absolute;
  right: 0.7em;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-yellow);
  border: none;
  border-radius: 0.7em;
  color: var(--text-primary);
  font-size: 1.02rem;
  padding: 0.2em 0.8em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 224, 102, 0.2);
  transition: var(--transition-fast);
  z-index: 2;
  flex-shrink: 0;
}

.lmn-command-line:hover .lmn-copy-btn {
  display: inline-block;
}

.lmn-copy-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.lmn-copy-btn:active {
  background: var(--primary-yellow-dark);
}

.lmn-install-view {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: var(--spacing-md);
  padding: 0 var(--spacing-xl);
}

.lmn-installer-container {
  margin-top: 0.8em;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === Footer === */
.site-footer {
  width: 100%;
  padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
  margin: var(--spacing-xxl) auto 0 auto;
  background-color: transparent;
  border-top: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--spacing-xxl) 4.5rem;
  align-items: start;
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-right: var(--spacing-lg);
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin: 0 0 var(--spacing-sm) 0;
  color: #000;
  font-weight: 700;
}

.footer-brand .description {
  color: #6b7280;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin: 0 0 var(--spacing-md) 0;
}

.dad-joke {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0 0 var(--spacing-md) 0;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-style: normal;
}

.footer-badges {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.footer-badge.subtle {
  background: #f8f9fa;
  border: 1px solid #e2e6ea;
  color: #6c757d;
  font-size: 0.85rem;
}

.footer-badge:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #495057;
}

.footer-badge.subtle:hover {
  background: #e9ecef;
  border-color: #ced4da;
  color: #495057;
}

.footer-badge .star-icon,
.footer-badge .license-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: #374151;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-lg) 0;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

.built-with {
  font-size: 1rem;
  color: #9ca3af;
  margin: 0;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Footer responsive design */
@media (min-width: 1024px) {
  .footer-content {
    gap: var(--spacing-xxl) 5rem;
  }
}

@media (max-width: 1023px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl) var(--spacing-xl);
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl) var(--spacing-lg);
    padding: 0 var(--spacing-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-md) 0;
  }
  
  .footer-brand h3 {
    font-size: 1.3rem;
  }
  
  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-links a {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xxl);
    padding: 0 var(--spacing-lg);
  }
  
  .footer-section {
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #f3f4f6;
  }
  
  .footer-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: var(--spacing-lg) 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    padding: 0 var(--spacing-md);
  }
  
  .footer-section {
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #f3f4f6;
  }
  
  .footer-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .footer-badges {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .footer-brand h3 {
    font-size: 1.2rem;
  }
  
  .dad-joke {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-links {
    gap: var(--spacing-sm);
  }
  
  .footer-links a {
    font-size: 0.9rem;
    padding: var(--spacing-xs) 0;
  }
  
  .footer-bottom {
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-md) 0;
  }
  
  .copyright,
  .built-with {
    font-size: 0.85rem;
  }
}

/* === News Components === */
.news-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: var(--bg-primary);
  border-right: 2px solid var(--border-light);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 150;
  padding: var(--spacing-xl) var(--spacing-lg);
  overflow-y: auto;
  transition: var(--transition-medium);
}

.news-sidebar.collapsed {
  transform: translateX(-250px);
}

.sidebar-header {
  margin-bottom: var(--spacing-xl);
}

.sidebar-header h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: #333;
  margin-bottom: var(--spacing-sm);
  margin-top: 2.5rem;
}

.sidebar-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 5rem; /* Prevents filter buttons from sitting behind navbar */
  margin-bottom: var(--spacing-xl);
}


.filter-btn {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: var(--transition-medium);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
  width: 100%;
}

.filter-btn:hover {
  background: #f9f9f9;
  border-color: var(--border-medium);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-btn.active {
  background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  border-color: var(--accent-gold);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: var(--shadow-medium);
}

.filter-btn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 184, 0, 0.4);
}

.sort-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.sort-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.sort-select {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: var(--transition-medium);
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.sort-select:hover {
  border-color: var(--border-medium);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sort-select:focus {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-medium);
}

.news-view {
  padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-xl) 270px;
  max-width: 1200px;
  margin: 0 auto;
  flex-grow: 1;
  transition: var(--transition-medium);
}

.news-view.sidebar-collapsed {
  padding-left: 50px;
}

.news-view .hero-section {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto var(--spacing-xl) auto;
  padding: var(--spacing-md);
}

.news-view .main-heading {
  font-size: 3.5rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.05;
  margin: var(--spacing-sm) 0 var(--spacing-md) 0;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
  max-width: 1000px;
  width: 100%;
}

.news-view .subtitle {
  font-size: var(--font-size-lg);
  font-weight: 500;
  font-family: var(--font-family);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xxl);
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.news-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.news-tile {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition-medium);
  aspect-ratio: 0.8;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.news-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
}

.news-image {
  height: 40%;
  background: linear-gradient(135deg, #f4d03f 0%, #f7dc6f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-image-placeholder {
  font-size: var(--spacing-xxl);
  opacity: 0.8;
}

.news-image-actual {
  width: 120%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
}

.news-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  margin: 0 0 var(--spacing-md) 0;
  color: #333;
  font-size: var(--font-size-lg);
  line-height: 1.3;
  font-weight: 600;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.news-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
  display: block;
  overflow: visible;
  text-overflow: unset;
}

.news-tile-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-tile-link:hover {
  text-decoration: none;
  color: inherit;
}

.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: var(--radius-round);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition-medium);
  pointer-events: none;
}

.news-tile:hover .youtube-play-button {
  background: rgba(255, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.content-type-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  z-index: 10;
}

.blog-badge {
  background-color: #007acc;
}

.video-badge {
  background-color: #dc3545;
}

.tutorial-badge {
  background-color: #28a745;
}

.release-badge {
  background-color: var(--primary-yellow);
}

/* News sidebar controls */
.collapse-btn, .expand-btn {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: var(--transition-medium);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.collapse-btn {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
}

.expand-btn {
  position: fixed;
  top: 4.5rem;
  left: 1.5rem;
  background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  border: none;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-light);
  z-index: 160;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
}

.expand-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.expand-btn:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.sidebar-toggle {
  display: none;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === Utility Classes === */
.back-to-top-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  border: none;
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-medium);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-medium);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  box-shadow: 0 6px 20px rgba(230, 184, 0, 0.4);
  transform: translateY(-2px);
}

.back-to-top-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-light);
}

.back-to-top-icon {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
  line-height: 1;
}

.text-muted {
  color: var(--border-medium);
}

.command-margin {
  margin-top: 0.6em;
}

/* === Install Selector Components === */

/* Unified content container */
.lmn-content-section {
  background: #fff;
  border-radius: 18px;
  padding: 1.5em;
  margin-top: 1.2em;
  box-shadow: 0 4px 24px #ffe06633;
  max-width: 650px;
  width: 100%;
  box-sizing: border-box;
}

.lmn-section-header {
  font-size: 1.2rem;
  color: #222;
  font-weight: 600;
  margin: 0 0 1em 0;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #ffe066;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.lmn-section-header::before {
  content: "⚡";
  font-size: 1.1em;
}

.lmn-explore-header::before {
  content: "🚀";
}

.lmn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: flex-start;
  margin-bottom: 1.2em;
}

.lmn-badges img {
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.lmn-badges img:hover {
  transform: translateY(-1px);
}

/* Command styling improvements */
.lmn-command pre {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  border-radius: 12px;
  padding: 1em 4.5em 1em 1.2em;
  font-size: 1.06rem;
  margin: 0;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'monospace';
  overflow-x: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 224, 102, 0.2);
  position: relative;
}

.lmn-download-section {
  background: linear-gradient(135deg, #ffe066 0%, #ffd43b 100%);
  border-radius: 12px;
  padding: 1.5em 2em;
  margin-bottom: 1.2em;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255, 224, 102, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.lmn-download-section a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  display: inline-block;
  padding: 1em 2em;
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 280px;
  line-height: 1.3;
}

.lmn-download-section a:hover {
  background: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lmn-command code {
  background: none;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.lmn-command a {
  color: #e6b800;
  text-decoration: underline;
  font-size: 1.08rem;
}

.lmn-command a:hover {
  color: #bfa100;
}

.lmn-command-line {
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 0;
  min-width: 0;
  word-break: break-all;
  width: calc(100% + 5.7em);
  box-sizing: border-box;
  margin-left: -1.2em;
  padding-left: 1.2em;
}

.lmn-command-line span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-right: 0.5em;
  max-width: calc(100% - 5.7em);
}

.lmn-copy-btn {
  display: none;
  position: absolute;
  right: 0.7em;
  top: 50%;
  transform: translateY(-50%);
  background: #ffe066;
  border: none;
  border-radius: 0.7em;
  color: #222;
  font-size: 1.02rem;
  padding: 0.2em 0.8em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 224, 102, 0.4);
  transition: background 0.18s, color 0.18s, transform 0.18s;
  z-index: 2;
  flex-shrink: 0;
}

.lmn-command-line:hover .lmn-copy-btn {
  display: inline-block;
}

.lmn-copy-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.lmn-copy-btn:active {
  background: #ffd43b;
}

.lmn-install-view {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 1rem;
  padding: 0 2rem;
  box-sizing: border-box;
}

.lmn-installer-container {
  margin-top: 0.8em;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === Decorative Elements === */
.ai-art {
  margin: var(--spacing-xxl) auto var(--spacing-lg) auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 120px;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .lmn-install-view {
    margin-top: var(--spacing-md);
  }
  
  .main {
    margin-top: 6rem;
  }
  
  .news-posts {
    grid-template-columns: repeat(auto-fit, minmax(250px, 400px));
    gap: var(--spacing-lg);
  }
  
  .news-tile {
    aspect-ratio: 0.9;
  }
  
  .news-sidebar {
    width: 220px;
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .news-sidebar.collapsed {
    transform: translateX(-220px);
  }
  
  .news-view {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 240px;
  }
  
  .news-view.sidebar-collapsed {
    padding-left: 50px;
  }
  
  .back-to-top-btn {
    bottom: 85px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  
  .back-to-top-icon {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .news-sidebar {
    width: 200px;
    padding: var(--spacing-md) 0.8rem;
  }
  
  .news-sidebar.collapsed {
    transform: translateX(-200px);
  }
  
  .news-view {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 220px;
  }
  
  .news-view.sidebar-collapsed {
    padding-left: 30px;
  }
  
  .collapse-btn {
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.3rem var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
  
  .expand-btn {
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.3rem var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: var(--spacing-md);
    padding: 1.2rem;
  }
  
  .navbar-links {
    gap: var(--spacing-lg);
    font-size: var(--font-size-base);
  }
  
  .navbar-context {
    position: static;
    font-size: var(--font-size-sm);
    order: -1;
  }
  
  .main {
    margin-top: var(--spacing-xxl);
  }
  
  .title {
    font-size: var(--font-size-xxl);
  }
  
  .subtitle {
    font-size: var(--font-size-base);
  }
  
  .button-row {
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .download-btn, .dev-btn {
    font-size: var(--font-size-base);
    padding: 0.8rem var(--spacing-lg);
  }
  
  .download-btn .download-sub, .dev-btn .dev-sub {
    font-size: var(--font-size-sm);
  }
  
  .lmn-install-view {
    padding: 0 var(--spacing-md);
    margin-top: var(--spacing-sm);
  }
  
  .lmn-install-title {
    font-size: var(--spacing-lg);
  }
  
  .lmn-installer-table {
    font-size: 0.98rem;
    max-width: 99vw;
  }
  
  .lmn-command-area {
    max-width: 99vw;
  }
  
  .lmn-btn {
    font-size: var(--font-size-base);
    padding: 0.8rem var(--spacing-lg);
  }
  
  .breadcrumb {
    padding: 0.6rem var(--spacing-md);
    font-size: var(--font-size-sm);
    min-height: 50px;
  }
  
  .breadcrumb-separator {
    margin: 0 var(--spacing-sm);
  }
  
  .lmn-center {
    padding-top: 70px;
  }
  
  .main-heading {
    font-size: var(--font-size-xxxl);
    line-height: 1.2;
  }
  
  .partner-apps {
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0 var(--spacing-xxl) 0;
  }
  
  .community-section {
    margin: var(--spacing-xl) 0 var(--spacing-md) 0;
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .community-buttons {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .partner-apps img {
    width: 50px;
    height: 50px;
  }
  
  .video-section {
    margin: var(--spacing-xl) auto var(--spacing-xxl) auto;
    max-width: 100%;
  }
  
  .release-announcement {
    margin: var(--spacing-xl) var(--spacing-md);
    max-width: none;
  }
  
  .news-banner {
    margin: var(--spacing-md) var(--spacing-md);
    max-width: none;
  }
  
  .news-banner-content {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
  }
  
  .news-item {
    align-items: flex-start;
  }
  
  .news-title {
    animation: none; /* Disable scrolling on smaller screens */
    white-space: normal;
    overflow: visible;
  }
  
  .release-content {
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: 0;
  }
  
  .release-link {
    align-self: flex-start;
  }
  
  .back-to-top-btn {
    bottom: 85px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  
  .back-to-top-icon {
    font-size: 16px;
  }
  
  .site-footer {
    padding: 1.2rem 0;
  }
  
  .footer-content {
    padding: 0 var(--spacing-md);
    gap: 0.2rem;
  }
  
  .dad-joke {
    font-size: var(--font-size-base);
  }
  
  .copyright {
    font-size: 0.8rem;
  }
  
  /* News responsive styles */
  .news-sidebar {
    transform: translateX(-100%);
    transition: var(--transition-medium);
    z-index: 160;
    width: 250px;
    padding: var(--spacing-lg);
  }
  
  .news-sidebar.mobile-open {
    transform: translateX(0);
  }
  
  .news-view {
    padding: var(--spacing-md);
    margin-top: var(--spacing-xl);
  }
  
  .news-view.sidebar-collapsed {
    padding-left: var(--spacing-md);
  }
  
  .news-view .main-heading {
    font-size: var(--font-size-xxxl);
    margin: var(--spacing-sm) 0;
  }
  
  .news-view .subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
  }
  
  .collapse-btn {
    display: none;
  }
  
  .expand-btn {
    display: none;
  }
  
  .sidebar-toggle {
    display: block;
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 200;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.6rem var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
  }
  
  .sidebar-toggle:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-1px);
  }
  
  .news-posts {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .news-header {
    margin-bottom: var(--spacing-xl);
  }
  
  .news-header h1 {
    font-size: var(--font-size-xxl);
  }
  
  .news-header p {
    font-size: var(--font-size-base);
  }
  
  .news-tile {
    aspect-ratio: 0.9;
  }
  
  .news-content {
    padding: var(--spacing-md);
  }
  
  .news-content h3 {
    font-size: var(--font-size-base);
    line-height: 1.2;
  }
  
  .news-date {
    font-size: 0.8rem;
  }
  
  .news-content p {
    font-size: var(--font-size-sm);
    line-height: 1.3;
  }
  
  .youtube-play-button {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .navbar-links {
    gap: 1.2rem;
    font-size: var(--font-size-base);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .release-announcement {
    margin: var(--spacing-lg) auto;
    max-width: 95%;
    padding: var(--spacing-md);
  }
  
  .news-banner {
    margin: var(--spacing-sm) auto;
    max-width: 95%;
    min-height: 40px;
  }
  
  .news-banner-content {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }
  
  .news-item {
    align-items: center;
  }
  
  .news-title {
    animation: none;
    white-space: normal;
    overflow: visible;
    font-size: var(--font-size-sm);
  }
  
  .news-label {
    font-size: var(--font-size-xs);
  }
  
  .release-content {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    margin-bottom: 0;
  }
  
  .release-info {
    text-align: center;
  }
  
  .release-icon {
    font-size: var(--spacing-lg);
  }
  
  .release-title {
    font-size: 0.9rem;
  }
  
  .release-name {
    font-size: var(--font-size-base);
  }
  
  .release-date {
    font-size: 0.8rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .highlight-item {
    font-size: var(--font-size-xs);
    margin: 0.2rem 0;
    padding-left: var(--spacing-sm);
    text-align: left;
  }
  
  .release-link {
    font-size: var(--font-size-base);
    padding: 0.8rem var(--spacing-lg);
    min-width: 120px;
    align-self: center;
  }
  
  .video-section {
    margin: var(--spacing-xl) auto var(--spacing-lg) auto;
    max-width: 95%;
  }
  
  .lmn-install-title {
    font-size: 1.8rem !important;
    margin: 0.8em 0 0.4em 0;
  }
  
  .back-to-top-btn {
    bottom: 80px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
  
  .back-to-top-icon {
    font-size: 14px;
  }
  
  /* News mobile styles */
  .news-sidebar {
    width: 100%;
    padding: var(--spacing-md);
  }
  
  .sidebar-toggle {
    top: 70px;
    right: 15px;
    padding: var(--spacing-sm) 0.8rem;
    font-size: var(--font-size-sm);
  }
  
  .news-view {
    padding: 0.8rem;
    margin-top: var(--spacing-lg);
  }
  
  .news-header h1 {
    font-size: 1.8rem;
  }
  
  .news-header p {
    font-size: 0.9rem;
  }
  
  .news-posts {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .news-tile {
    aspect-ratio: 1.1;
  }
  
  .news-image {
    height: 50%;
  }
  
  .news-content {
    padding: 0.6rem;
  }
  
  .news-content h3 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    line-height: 1.1;
  }
  
  .news-content p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
  }
  
  .news-date {
    font-size: var(--font-size-xs);
    margin-bottom: 0.3rem;
  }
  
  .youtube-play-button {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    padding: var(--spacing-sm) 0.8rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
    min-height: auto;
  }
  
  .breadcrumb-back {
    font-size: 0.8rem;
  }
  
  .lmn-center {
    padding-top: 65px;
  }
  
  .lmn-install-title {
    font-size: var(--spacing-lg) !important;
    margin: 0.6em 0 0.3em 0;
  }
  
  .main-heading {
    font-size: var(--font-size-xxl);
  }
  
  .partner-apps {
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0 var(--spacing-xxl) 0;
  }
  
  .partner-apps img {
    width: 40px;
    height: 40px;
  }
  
  .news-view {
    padding: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }
  
  .news-view .main-heading {
    font-size: var(--font-size-xxl);
    margin: 0.3rem 0;
  }
  
  .news-view .subtitle {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
  }
  
  .news-header {
    margin-bottom: var(--spacing-lg);
  }
  
  .news-header h1 {
    font-size: 1.6rem;
  }
  
  .news-posts {
    gap: var(--spacing-md);
  }
  
  .news-tile {
    aspect-ratio: 1.2;
  }
  
  .news-image {
    height: 45%;
  }
  
  .news-content {
    padding: var(--spacing-sm);
  }
  
  .news-content h3 {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    line-height: 1.1;
  }
  
  .news-content p {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
  }
  
  .news-date {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
  }
  
  .youtube-play-button {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
  
  /* Community links responsive styles */
  .community-section {
    margin: var(--spacing-xl) 0 var(--spacing-md) 0;
    padding: var(--spacing-md);
  }
  
  .community-buttons {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .community-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .community-stat-card {
    min-width: 260px;
    max-width: 300px;
    padding: var(--spacing-md);
  }
  
  .stat-icon {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
  
  .badges-section {
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
  }
  
  .badge {
    min-width: 100px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.8rem;
  }
}

/* === Blog Article Styles === */
.blog-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  margin-top: 0px;
  margin-bottom: var(--spacing-xl);
}

.article-header {
  margin-bottom: var(--spacing-xxl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 2px solid var(--border-light);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  align-items: center;
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.article-date {
  font-weight: 600;
}

.article-authors {
  color: var(--text-muted);
}

.article-title {
  font-size: var(--font-size-xxxl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-lg) 0;
  line-height: 1.2;
}

.article-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.article-content {
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
}

.article-content h2 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--spacing-xxl) 0 var(--spacing-lg) 0;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-light);
}

.article-content h2:first-child,
.section-card h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.article-content h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

.article-content p {
  margin: 0 0 var(--spacing-lg) 0;
}

.article-content ul,
.article-content ol {
  margin: 0 0 var(--spacing-lg) 0;
  padding-left: var(--spacing-xl);
}

.article-content li {
  margin-bottom: var(--spacing-sm);
}

.article-content strong {
  font-weight: 600;
  color: var(--text-primary);
}

.article-content a {
  color: var(--accent-gold-dark);
  text-decoration: underline;
  transition: var(--transition-fast);
}

.article-content a:hover {
  color: var(--accent-gold);
}

.feature-list {
  background: var(--bg-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  margin: var(--spacing-xl) 0;
  border-left: 4px solid var(--primary-yellow-dark);
}

.feature-list h3 {
  margin-top: 0;
  color: var(--text-primary);
}

.feature-list ul {
  margin-bottom: 0;
}

.feature-list li {
  margin-bottom: var(--spacing-md);
}

.model-grid,
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.model-card,
.requirement-card {
  background: var(--bg-secondary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-medium);
}

.model-card:hover,
.requirement-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.model-card h3,
.requirement-card h4 {
  margin-top: 0;
  color: var(--accent-gold-dark);
  font-weight: 600;
}

.code-block {
  background: #2d3748;
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.code-block code {
  color: #e2e8f0;
  font-family: inherit;
}

.community-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
}

.community-link {
  display: block;
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-medium);
  text-align: center;
}

.community-link:hover {
  background: var(--primary-yellow);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--text-primary);
}

.article-conclusion {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 100%);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  margin: var(--spacing-xxl) 0;
  text-align: center;
}

.article-conclusion p {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--text-primary);
}

.article-navigation {
  margin-top: var(--spacing-xxl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.back-to-news-btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-medium);
}

.back-to-news-btn:hover {
  background: var(--primary-yellow);
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

/* Blog Article Responsive Styles */
@media (max-width: 768px) {
  .blog-article {
    margin: var(--spacing-lg) var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .article-title {
    font-size: var(--font-size-xxl);
  }
  
  .article-subtitle {
    font-size: var(--font-size-base);
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .model-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .community-links {
    grid-template-columns: 1fr;
  }
  
  .code-block {
    padding: var(--spacing-md);
  }
  
  .code-block pre {
    font-size: var(--font-size-xs);
  }
}

/* === Enhanced Blog Components === */

/* Hero Section (scoped to blog articles only) */
.blog-article .hero-section {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--primary-yellow) 100%);
  padding: 3rem 0;
  margin: 0 auto 3rem auto;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.blog-article .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 212, 59, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 224, 102, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(230, 184, 0, 0.2);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin: 0 0 2rem 0;
  line-height: 1.5;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

/* Enhanced Section Cards */
.section-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 224, 102, 0.2);
  transition: all 0.3s ease;
}

.section-card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1.5rem 0;
  position: relative;
  padding-left: 1rem;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark));
  border-radius: 2px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 224, 102, 0.3);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 224, 102, 0.2);
}

.feature-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

/* Enhanced Code Blocks */
.enhanced-code-block {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 224, 102, 0.1);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-title {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
}

.code-dots {
  display: flex;
  gap: 0.5rem;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27ca3f; }

.enhanced-code-block pre {
  margin: 0;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.enhanced-code-block code {
  color: #e2e8f0;
  font-family: inherit;
  background: none;
  padding: 0;
}

/* Model Showcase */
.model-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.model-card-enhanced {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-primary) 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.model-card-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark));
  border-radius: 16px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.model-card-enhanced:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(255, 224, 102, 0.3);
}

.model-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.model-badge {
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark));
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-dark) 50%, var(--primary-yellow-darker) 100%);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.cta-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.cta-link {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-link:hover {
  background: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

/* Enhanced Blog Components Responsive Styles */
@media (max-width: 1024px) {
  .blog-article {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section-card {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .model-showcase {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-links {
    grid-template-columns: 1fr;
  }
  
  .blog-article {
    max-width: 95%;
    padding: var(--spacing-lg) var(--spacing-md);
  }
}